package Demo;

public class TestAnimal {

	public static void main(String[] args) {
		
		Animal animal = new Animal();
		
		animal.setLegs(4);
		
		System.out.println(animal.getLegs());
		
		animal.setName("图图");
		
		System.out.println(animal.getName());
		
		animal.setAge(2);
		System.out.println(animal.getAge());

	}

}
